<template>
  <div id="app">
    <el-container>
      <el-header>
          <i class="el-icon-s-promotion"></i>
          <span class="one">思云课堂后台业务管理系统</span>
          <span class="right one">
            <ul>
              <li>
                <img src="#" class="user">admin
              </li>
              <li>
                <i class="el-icon-s-home"></i>
              </li>
              <li><i class="el-icon-more"></i></li>
              <li>
                <el-badge :value="12" class="item">
                  <i class="el-icon-message-solid"></i>
                </el-badge>
              </li>
              <li>
                <el-dropdown>
                    <i class="el-icon-switch-button"></i>
                  <el-dropdown-menu slot="dropdown">
                    <el-dropdown-item icon="el-icon">黄金糕</el-dropdown-item>
                    <el-dropdown-item icon="el-icon-circle">狮子头</el-dropdown-item>
                  </el-dropdown-menu>
                </el-dropdown>
              </li>
            </ul>
          </span>
      </el-header>
      <el-container style="height: 500px; border: 1px solid #eee">
        <el-aside width="200px" style="background-color: rgb(238, 241, 246)">
          <el-menu :default-openeds="['1', '3']">
            <el-submenu index="1">
              <template slot="title"><i class="el-icon-message"></i>导航一</template>
              <el-menu-item-group>
                <template slot="title">分组一</template>
                <el-menu-item index="1-1">选项1</el-menu-item>
                <el-menu-item index="1-2">选项2</el-menu-item>
              </el-menu-item-group>
              <el-menu-item-group title="分组2">
                <el-menu-item index="1-3">选项3</el-menu-item>
              </el-menu-item-group>
              <el-submenu index="1-4">
                <template slot="title">选项4</template>
                <el-menu-item index="1-4-1">选项4-1</el-menu-item>
              </el-submenu>
            </el-submenu>
            <el-submenu index="2">
              <template slot="title"><i class="el-icon-menu"></i>导航二</template>
              <el-menu-item-group>
                <template slot="title">分组一</template>
                <el-menu-item index="2-1">选项1</el-menu-item>
                <el-menu-item index="2-2">选项2</el-menu-item>
              </el-menu-item-group>
              <el-menu-item-group title="分组2">
                <el-menu-item index="2-3">选项3</el-menu-item>
              </el-menu-item-group>
              <el-submenu index="2-4">
                <template slot="title">选项4</template>
                <el-menu-item index="2-4-1">选项4-1</el-menu-item>
              </el-submenu>
            </el-submenu>
            <el-submenu index="3">
              <template slot="title"><i class="el-icon-setting"></i>导航三</template>
              <el-menu-item-group>
                <template slot="title">分组一</template>
                <el-menu-item index="3-1">选项1</el-menu-item>
                <el-menu-item index="3-2">选项2</el-menu-item>
              </el-menu-item-group>
              <el-menu-item-group title="分组2">
                <el-menu-item index="3-3">选项3</el-menu-item>
              </el-menu-item-group>
              <el-submenu index="3-4">
                <template slot="title">选项4</template>
                <el-menu-item index="3-4-1">选项4-1</el-menu-item>
              </el-submenu>
            </el-submenu>
          </el-menu>
        </el-aside>
        <el-main>Main</el-main>
      </el-container>
    </el-container>
  </div>
</template>

<script>
  import axios from 'axios'
  export default{
    data(){
      return{
      }
    },
    methods:{
    }
  }
</script>

<style lang="less">
  .el-header{
    font:bold 18px "微软雅黑";
    color: white;
    background-color: #31C3A6;
    line-height: 60px;
  }
  ul li{
    list-style: none;
  }
  .el-header .one{
    margin-left: 20px;
  }
  .left{
    float: left;
  }
  .right{
    float: right;
  }
  .right ul li{
    margin: 0px 20px 0px 20px;
    line-height: 25px;
    float: left;
  }

  .user{
    margin-right: 10px;
  }
</style>
